package com.team11.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team11.server.pojo.SkInformation;
import com.team11.server.pojo.dto.SkRecord;
import com.team11.server.pojo.dto.vo.SkRecordVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author pjc
 * @since 2021-06-14
 */

public interface SkInformationMapper extends BaseMapper<SkInformation> {

    /**
     * 获取上课记录（分页）
     *
     * @param page
     * @param skRecordVo
     * @return
     */
    IPage<SkRecord> getSkRecordByPage(Page<SkRecord> page, @Param("skRecordVo") SkRecordVo skRecordVo);
}
